home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7477 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  921 b 

  1. Path: aplcomm.jhuapl.edu!bandy
  2. From: bandy@aplcomm.jhuapl.edu (Mike Bandy F2C )
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Formatting Disks in C++
  5. Date: 23 Feb 96 14:50:01 GMT
  6. Organization: Johns Hopkins University Applied Physics Lab, Laurel, MD, USA
  7. Message-ID: <bandy.825087001@aplcomm.jhuapl.edu>
  8. References: <4gfvrf$drm@newsbf02.news.aol.com> <312D7BB7.5DA6@sto.fdata.se>
  9. NNTP-Posting-Host: aplcomm.jhuapl.edu
  10. X-Newsreader: NN version 6.5.0 CURRENT #2
  11.  
  12. Niklas Mellin <niklas.mellin@sto.fdata.se> writes:
  13.  
  14. >BillsFan10 wrote:
  15. >> 
  16. >> How do you format a disk in C++?
  17.  
  18. >You call the operating system and let it do the work for you.
  19.  
  20. int i;
  21.  
  22. i = i++ * ++i;
  23.  
  24. Works for me...    :)
  25.  
  26. -- 
  27. Mike Bandy      bandy@aplcomm.jhuapl.edu
  28. Johns Hopkins University / Applied Physics Laboratory
  29. Do not be too moral.  You may cheat yourself out of much of life.  So aim 
  30. above morality.  Be not simply good; be good for something.  -Thoreau
  31.